package com.guangwei.example.javaclasstest;

public class JavaClass {
    public static void main(String[] args) {
        Animal animal = new Animal();

        System.out.println("JavaClass");

        animal.setLeg(2);
        System.out.println("I have " + animal.getLeg() + " legs");
    }
}